package com.ruoyi.job.kettle;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class Test {
    public static void main(String[] args) {
        SimpleDateFormat sdf =new SimpleDateFormat("yyyyMMdd");
        Calendar calendar = Calendar.getInstance();
        calendar.setTime(new Date());
        String exeDate=sdf.format(calendar.getTime());
        System.out.println(exeDate);
    }
}
